{% extends 'common/templates/base_sidebar.html' %}
{% load nonce avatar vcard %}
{% block title %}Channels{% endblock %}

{% block content %}

<div class="path">
  <h1>{{SITE_NAME}} Channels</h1>
</div>

<div class="body">
  {% block channel_body %}{% endblock %}
</div>

{% endblock %}

{% block sidebar %}
{% if not request.mobile %}
    <div class="tip">
      <p>
        <h3>How to post to a channel?</h3>
        From any {{SITE_NAME}} interface you can post to a channel
        by prefixing your message with the channelname.<br />
        Example: <br/><strong>#example Hello everyone!</strong>
      </p>
      {% if component.loaded.sms_service %}
      <p>
        This is available via the SMS on<br />
        <strong>30300</strong><br />
      </p>
      {% endif %}
    </div>
    {% include 'channel/templates/sidebar_ourpicks.html' %}
    {% include 'common/templates/sidebar_search.html' %}
{% else %}
  {% include 'channel/templates/sidebar_ourpicks.html' %}
{% endif %}
{% endblock %}